/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package main;

import java.sql.SQLException;
import javax.xml.xpath.XPathExpressionException;
import sql.SQLInterface;

/**
 *
 * @author Lu
 */
public class CleanDatabase {
     public static void main(String[] args) throws XPathExpressionException, SQLException {
    SQLInterface.init();
            String[] tables = new String[6];
            tables[5] = "elementtype";
            tables[4] = "document";
            tables[3] = "element";
            tables[2] = "word";
            tables[1] = "wordposition";
            tables[0] = "statdocelement";
            SQLInterface.cleanDatabase(tables);
     }

}
